import { createStore,applyMiddleware} from 'redux'

import async_func from './asyn_func'

//导入redux-thunk  用于支持异步的action
import  thunk from 'redux-thunk'

export default  createStore(async_func,applyMiddleware(thunk))